Let's make a button so that when the players press it, we can initiate the battle.
And I think I'm just going to put it on a wall like I did with my steps a long time ago in the beginning.
So let's go to our part and we'll get a block.
And the block is going to be the wall.
We'll call this wall.
Collisions are on.
So if I increase the size, it'll it'll pop out of the ground.
It won't be like half in and half out.
Let's make that size 12 by 12 by two.
Cool.
Maybe pull this back a little bit.
There we go.
And we'll make the material.
Maybe.
Brett, Whatever you want to make it break.
How's that?
I'm going to put this in a model.
So I'm going to write, click and then group as model.
And then the model I'm going to call Battle Wall.
So in the in the battle wall, I got my wall.
All right.
What else I need on my wall?
I need some sort of instructions so that people know what it is.
Let's hit the plus on the wall.
Hit s for surface guy.
Make sure it's not screen gooey.
They look a lot alike.
So we'll hit surface gooey.
Boom.
We're going to put that on the wall and then on the surface gooey.
We're going to hit a text label.
You might not see your text label.
Go ahead and look around and see where it's at.
Might even be on the bottom.
Probably not.
It's probably going to be in the front of the back.
If you want to rotate your part, that's fine.
But you could just go click surface, surface gooey and then look for face.
Then you can change it.
So if it's on the front, but you're not looking at the front, just change it to back.
It's probably going to pop out.
Just change these around so you can see it.
All right, now on my text label, let's go ahead and we can call this like instruction label or something.
Instruction label.
I'm going to change the anchor point of that because I want to center it.
So I only really care about the X.
It's still good zero for the Y, so I'll do a 0.5 x zero for the Y on the anchor point, and that's
the anchor point.
Like halfway.
Right, let's go to position and then we'll make it point five of the X.
So halfway across the the wall zero pixel offset and maybe like point one down so 10% down on the Y
zero pixel offset.
Nice size.
We can make that bigger, we can make that 100% on the X, which is just a10 pixel offset 30% on the
Y, which is 0.3 right decimal percentage and zero pixel offset.
It's kind of big.
That's all right.
We're going to make the text big and we're going to make this background invisible.
So let's scroll up to the background transparency.
Make that one.
I know you can't see it, but there's a label in there.
Hold on, We'll make it bigger.
Let's scroll all the way down to.
Tax scaled so we could see it there.
And then maybe we'll make that red because it's going to be a battle, right?
It's going to be bloody.
And it's red.
And I want to have a little outline on that.
So go to text transparency.
Make that what's text That's text transparency.
Keep that zero text stroke transparency zero.
It puts a little outline on it.
Let's change the font to right.
Let's make it like permanent marker.
Like somebody wrote it, wrote it down there.
That's pretty good.
Maybe make a bold.
How's that look?
Yeah, I like it.
Not bold.
And we'll change the text.
Let's change it.
To click to initiate
battle.
All right.
We're going to need a button on that thing, too.
So let's go to our part.
Hit the little down arrow.
Cylinder is going to be my button.
And a call button.
So don't get confused.
It's outside the bottle wall.
Let's go ahead and drag it into the battle wall.
Good collisions are on.
That's fine.
Let's just go ahead and rotate this.
Am I rotating?
Oh, green.
There we go.
A change the size.
The button selected o turn anchored on to because you don't want it the button to fall.
I just happened to see it there.
Let's go to our size.
There it is.
Make it like point two, one by one.
Don't make your button too small because then the mobile people won't be able to hit it on their phones.
All right.
I want to put that right in the center of my wall.
So what I'm going to do is I want to get my wall.
I'm going to go to the position of the wall.
Where's my C?
Here it is.
C, frame position control C to get the wall position.
Grab my button.
And then control V and the button position.
Are turn collisions off.
That's cool though.
It didn't go above.
I should add collisions off for that.
But now it's centered.
Bump it up against.
Yeah, that's.
Senator.
That's good.
I like that.
That's why.
That's why I did the copy and paste.
Let's change the color of our button now.
We can't see it.
Maybe green.
Green.
Looks like you're going to initiate something.
I the battle wall itself or just the wall?
Let's make that anchored too, so it doesn't fall over.
I don't think a will, but.
Why not?
We might have explosions go off or something.
Yeah, that's pretty good.
What else are we going to need for this?
We are going to need.
A quick detector on the button because we want to click the button.
There's the button, hit the plus.
Click detector and you could use a proximity prompt to now, you know, a few different ways of doing
things.
And I think on the bottle wall.
I think I'm going to hit the plus again, too, and ask for string value.
And this is going to be the place I'd write.
This is where you're going to teleport to.
So say place ID.
So that's a string value.
We don't have anything yet.
We still have to make our place.
And we're going to have we're going to have a script.
We might as well add the script now, too.
So hit the plus.
I do script and.
This is going to be an initiate initiate
battle script.
Looking good.
All right.
So in the next video, we're going to work on the UI, because they have to they have to coordinate.
And we also need to make the place and then we have to teleport to the place and then we have to have
them come back when they die.
So this is almost like a lobby.
It actually essentially is a lobby.
We have a little game inside our big game.
We just didn't go with the whole the whole lobby.
This is our starter place, though.